package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketOrder;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface MarketOrderService {

    List<MarketOrder> readOrderList(String page, String limit, String sort, String order, String orderId, String userId, String orderSn , String[] timeArrays, String[] orderStatusArrays);

    Map<String, Object> readOrderDetail(String id);

    String getChannel();

    int ShipOrder(String orderId, String shipChannel, String shipSn);

    int refundOrder(String orderId);

    int deleteOrder(String orderId);

    List<MarketOrder> list(int page, int limit, String sort, String order, LocalDateTime start, LocalDateTime end, int userId, int orderId, String orderSn, ArrayList<Short> orderStatus);

}
